
cd E://projects/tsin-app
find -name application.yml |xargs perl -pi -e 's|active: dev|active: prod|g'
git add .
git commit -m "submit"
git push origin master
find -name application.yml |xargs perl -pi -e 's|active: prod|active: dev|g'
rm src/main/resources/application.yml.bak
ssh root@42.193.186.155  'sh /home/tsin/app.sh'
